package com.kcwl.carrier.domain.repository;


import com.kcwl.carrier.domain.entity.CarrierCompanyInfo;
import com.kcwl.carrier.infrastructure.repository.po.CarrierCompanyInfoPO;
import com.kcwl.ddd.domain.repository.IBaseRepository;

/**
 * @author 刘旭超
 * @date 2022年07月11日 16:33
 * @Description
 */
public interface ICarrierCompanyInfoRepository extends IBaseRepository<CarrierCompanyInfoPO> {
    CarrierCompanyInfo queryByCarrierId(Long carrierId);

    int insert(CarrierCompanyInfo carrierInfo);

    int updateByCarrierId(CarrierCompanyInfo carrierInfo);
}
